<h1>Header1</h1>
<script>
document.write('ABC');
<!--
document.write("<script>document.write('Hello, World')</script>");
//-->
document.write('XYZ');
</script>
<h2>Header2</h2>